<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/common/common.jsp" %>
    <script src="/static/js/employee_management/mission.js"></script>
    <style>
        .datagrid-cell-check input {
            margin-top: 2px;
        }

        .dialog-form {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            padding: 14px 20px;
            justify-content: space-around;
        }

        .dialog-form p {
            display: flex;
            padding-top: 3px;
            padding-bottom: 3px;
            align-items: center;
        }

        .dialog-form .left {
            width: 90px;
        }

    </style>

</head>
<body>
<div id="box" style="width: 100%;height: 100%;">

    <table id="mission_datagrid"></table>
</div>


<div id="mission_toolbar">
    姓名查询:<input id="keyword" class="easyui-textbox" prompt="先森,请输入您的大名!">
    部门查询:<input id="deptName" class="easyui-combobox"
                data-options="url:'/department/selectAll.do',textField:'name',valueField:'name',panelHeight:'auto'">
    日期查询:<input id="beginDate" class="easyui-datebox" prompt="告诉你一个秘密:">~~<input id="endDate" class="easyui-datebox"
                                                                                 prompt="我想回家养猪!">
    <a class="easyui-linkbutton" iconCls="iconfont icon-sousuo" plain="true" data-cmd="search">查询</a><br>

    <a class="easyui-linkbutton" iconCls="icon-add02" plain="true" data-cmd="add">新建任务</a>
    <a id="button_edit" class="easyui-linkbutton" iconCls="icon-edit02" plain="true" data-cmd="edit">编辑任务</a>
    <a id="button_mark" class="easyui-linkbutton" iconCls="icon-mark" plain="true" data-cmd="mark">标记完成</a>
    <a class="easyui-linkbutton" iconCls="icon-update" plain="true" data-cmd="refresh">刷新任务</a>
    <a class="easyui-linkbutton" iconCls="icon-printing" plain="true" data-cmd="printing">打印任务</a>
</div>
<%--<a id="lookover" href="javascipt:" class="easyui-linkbutton" data-cmd="check">查看</a>--%>

<div id="mission_dialog" class="easyui-dialog">
    <form id="mission_form" method="post" class="dialog-form">
        <p>
            <input name="id" type="hidden"/>
        </p>
        <p>
            <span class="left">谁是幸运儿:</span>
            <input name="employeeuserame" class="easyui-validatebox" prompt="请输入员工用户名"
                   validType="remote['/mission/validateName.do','employeeuserame']"
                   invalidMessage="用户名不存在"
            />
        </p>
        <p>
            <span class="left">任务建立日期:</span>
            <input name="date" class="easyui-datebox"/>
        </p>
        <p>
            <span class="left">任务编号:</span>
            <input name="sn" class="easyui-textbox"/>
        </p>
        <p>
            <span class="left">任务内容:</span>
            <textarea rows="10" cols="30" name="content" id="textarea"></textarea>
        </p>
    </form>
</div>
<div id="mission_btns">
    <a class="easyui-linkbutton" iconCls="iconfont icon-dui" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="iconfont icon-jujue" plain="true" data-cmd="cancel">取消</a>
</div>


</body>
</html>
